﻿using System;

namespace DMZS.Model
{
    /// <summary>
    /// Etype:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class Etype
    {
        public Etype()
        {
        }
        private string _etypeid = string.Empty;
        private string _parid = string.Empty;
        private int? _leveal = 0;
        private int? _soncount = 0;
        private int? _esonnum = 0;
        private string _efullname = string.Empty;
        private string _ename = string.Empty;
        private string _eusercode = string.Empty;
        private string _tel = string.Empty;
        private string _address = string.Empty;
        private string _ecomment = string.Empty;
        private string _enamepy = string.Empty;
        private DateTime? _birthday = DateTime.Now;
        private string _email = string.Empty;
        private int? _isstop = 0;
        private string _deptid = string.Empty;
        /// <summary>
        ///
        /// </summary>
        public int EtypeFID { get; set; }
        /// <summary>
        ///
        /// </summary>
        public string Etypeid
        {
            set
            {
                _etypeid = value;
            }
            get
            {
                return _etypeid;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string Parid
        {
            set
            {
                _parid = value;
            }
            get
            {
                return _parid;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? Leveal
        {
            set
            {
                _leveal = value;
            }
            get
            {
                return _leveal;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? Soncount
        {
            set
            {
                _soncount = value;
            }
            get
            {
                return _soncount;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? Esonnum
        {
            set
            {
                _esonnum = value;
            }
            get
            {
                return _esonnum;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string Efullname
        {
            set
            {
                _efullname = value;
            }
            get
            {
                return _efullname;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string Ename
        {
            set
            {
                _ename = value;
            }
            get
            {
                return _ename;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string Eusercode
        {
            set
            {
                _eusercode = value;
            }
            get
            {
                return _eusercode;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string Tel
        {
            set
            {
                _tel = value;
            }
            get
            {
                return _tel;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string Address
        {
            set
            {
                _address = value;
            }
            get
            {
                return _address;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string Ecomment
        {
            set
            {
                _ecomment = value;
            }
            get
            {
                return _ecomment;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string ENamePY
        {
            set
            {
                _enamepy = value;
            }
            get
            {
                return _enamepy;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime? Birthday
        {
            set
            {
                _birthday = value;
            }
            get
            {
                return _birthday;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string Email
        {
            set
            {
                _email = value;
            }
            get
            {
                return _email;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public int? IsStop
        {
            set
            {
                _isstop = value;
            }
            get
            {
                return _isstop;
            }
        }
        /// <summary>
        ///
        /// </summary>
        public string DeptID
        {
            set
            {
                _deptid = value;
            }
            get
            {
                return _deptid;
            }
        }
    }
}

